翻訳と辞書
Words near each other
・ Compound chocolate
・ Compound device
・ Compound document
・ Compound Document Format
・ Compound empowerment
・ Compound engine
・ Compound Eye Sessions
・ Compound File Binary Format
・ Compound Fracture (film)
・ Compound fruit
・ Compound heterozygosity
・ Compound interest
・ Compound interest treasury note
・ Composite construction
・ Composite Corridor
Composite data type
・ Composite epoxy material
・ Composite fermion
・ Composite field
・ Composite field (mathematics)
・ Composite film
・ Composite Gazetteer of Antarctica
・ Composite gear housing
・ Composite good
・ Composite gravity
・ Composite Health Care System
・ Composite Higgs models
・ Composite House for Terre Haute
・ Composite image filter
・ Composite index


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Composite data type : ウィキペディア英語版
Composite data type

In computer science, a composite data type or compound data type is any data type which can be constructed in a program using the programming language's primitive data types and other composite types. The act of constructing a composite type is known as composition.
==C/C++ structures and classes==

A struct is C's and C++'s notion of a composite type, a datatype that composes a fixed set of labeled fields or members. It is so called because of the struct keyword used in declaring them, which is short for ''structure'' or, more precisely, ''user-defined data structure''.
In C++, the only difference between a struct and a class is the default access level, which is ''private'' for classes and ''public'' for structs.
Note that while classes and the class keyword were completely new in C++, the C programming language already had a crude type of structs. For all intents and purposes, C++ structs form a superset of C structs: virtually all valid C structs are valid C++ structs with the same semantics.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Composite data type」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.